Dev : Register 31

Gens KMod

Dev : Register 31

Register 31 : Timer

! WARNING : this register doesn't work during VInt !

As any added register, the original Megadrive/Genesis should skip them (as written in the Dev Kit documentation)


Timer register

start/reset and output a timer (based on m68k cycles)


Value is sr000000 where

s=0                Counter output on Message window

s=1                Counter start

r=0                <undefined>

r=1                reset counter



I made it for optimizing issue : you can know how cycles a call take and optimize it.

Copyright ©2007 Kaneda

This help file has been generated by the freeware version of HelpNDoc